package karileet.meeting.profile.list.item;

/**
 * Class for one row element. Toggleable
 * @author markus
 *
 */
public class ScheduleListItem {

	private String time;
	private String description;
	private String title;
	private int type;
	private boolean selected;

	public ScheduleListItem(String title, String description, String time, boolean selected, int type) {
		this.title = title;
		this.time = time;
		this.description = description;
		this.selected = selected;
		this.type = type;
	}

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getTime() {
		return time;
	}
	public boolean isSelected() {
		return selected;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public void setSelected(boolean selected) {
		this.selected = selected;
	}
	public void toggle() {
		this.selected = !this.selected;
	}
	public int getType()
	{
		return this.type;
	}
}
